<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      libsecret-0.20.1
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.79.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-9.1">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 9.1
      </h4>
      <h3>
        Chapter&nbsp;33.&nbsp;GNOME Libraries and Desktop
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="gsettings-desktop-schemas.html" title=
          "gsettings-desktop-schemas-3.34.0">Prev</a>
          <p>
            gsettings-desktop-schemas-3.34.0
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="rest.html" title="rest-0.8.1">Next</a>
          <p>
            rest-0.8.1
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="core.html" title=
          "Chapter&nbsp;33.&nbsp;GNOME Libraries and Desktop">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="libsecret" name="libsecret"></a>libsecret-0.20.1
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to libsecret
        </h2>
        <p>
          The <span class="application">libsecret</span> package contains a
          GObject based library for accessing the Secret Service API.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "http://ftp.gnome.org/pub/gnome/sources/libsecret/0.20/libsecret-0.20.1.tar.xz">
                http://ftp.gnome.org/pub/gnome/sources/libsecret/0.20/libsecret-0.20.1.tar.xz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download (FTP): <a class="ulink" href=
                "ftp://ftp.gnome.org/pub/gnome/sources/libsecret/0.20/libsecret-0.20.1.tar.xz">
                ftp://ftp.gnome.org/pub/gnome/sources/libsecret/0.20/libsecret-0.20.1.tar.xz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: d2dd660a8d502099317bc8af9f30302e
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 520 KB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 12 MB (with tests)
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: 0.2 SBU (wtih tests)
              </p>
            </li>
          </ul>
        </div>
        <h3>
          libsecret Dependencies
        </h3>
        <h4>
          Required
        </h4>
        <p class="required">
          <a class="xref" href="../general/glib2.html" title=
          "GLib-2.62.4">GLib-2.62.4</a>
        </p>
        <h4>
          Recommended
        </h4>
        <p class="recommended">
          <a class="xref" href="../general/gobject-introspection.html" title=
          "gobject-introspection-1.62.0">gobject-introspection-1.62.0</a>,
          <a class="xref" href="../general/libgcrypt.html" title=
          "libgcrypt-1.8.5">libgcrypt-1.8.5</a>, and <a class="xref" href=
          "../general/vala.html" title="Vala-0.46.6">Vala-0.46.6</a>
        </p>
        <h4>
          Optional
        </h4>
        <p class="optional">
          <a class="xref" href="../general/gtk-doc.html" title=
          "GTK-Doc-1.32">GTK-Doc-1.32</a> and <a class="xref" href=
          "../pst/docbook.html" title="docbook-xml-4.5">docbook-xml-4.5</a>,
          <a class="xref" href="../pst/docbook-xsl.html" title=
          "docbook-xsl-nons-1.79.2">docbook-xsl-1.79.2</a>, <a class="xref"
          href="../general/libxslt.html" title=
          "libxslt-1.1.34">libxslt-1.1.34</a> (to build manual pages), and
          <a class="xref" href="../general/valgrind.html" title=
          "Valgrind-3.15.0">Valgrind-3.15.0</a> (can be used in tests)
        </p>
        <h4>
          Optional (Required for the testsuite)
        </h4>
        <p class="optional">
          <a class="xref" href="../general/python-modules.html#dbus-python"
          title="D-Bus Python-1.2.16">D-Bus Python-1.2.16</a>, <a class=
          "xref" href="gjs.html" title="Gjs-1.58.5">Gjs-1.58.5</a>, and
          <a class="xref" href="../general/python-modules.html#pygobject3"
          title="PyGObject-3.34.0">PyGObject-3.34.0</a> (Python 3 module)
        </p>
        <h4>
          Runtime Dependency
        </h4>
        <p class="required">
          <a class="xref" href="gnome-keyring.html" title=
          "gnome-keyring-3.34.0">gnome-keyring-3.34.0</a>
        </p>
        <div class="admon note">
          <img alt="[Note]" src="../images/note.png" />
          <h3>
            Note
          </h3>
          <p>
            Any package requiring <span class="application">libsecret</span>
            expects <span class="application">GNOME Keyring</span> to be
            present at runtime.
          </p>
        </div>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/libsecret">http://wiki.linuxfromscratch.org/blfs/wiki/libsecret</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of libsecret
        </h2>
        <p>
          Install <span class="application">libsecret</span> by running the
          following commands:
        </p>
        <pre class="userinput">
<kbd class="command">mkdir bld &amp;&amp;
cd bld &amp;&amp;

meson --prefix=/usr -Dgtk_doc=false .. &amp;&amp;
ninja</kbd>
</pre>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">ninja install</kbd>
</pre>
        <p>
          To test the results, issue: <span class="command"><strong>ninja
          test</strong></span>, after the package is installed. The test
          suite should be run from a local GUI session started with
          dbus-launch.
        </p>
      </div>
      <div class="commands" lang="en" xml:lang="en">
        <h2 class="sect2">
          Command Explanations
        </h2>
        <p>
          <em class="parameter"><code>-Dgtk_doc=false</code></em>: Remove
          this if you have <a class="xref" href="../general/gtk-doc.html"
          title="GTK-Doc-1.32">GTK-Doc-1.32</a> installed and want to rebuild
          the documentation with it.
        </p>
        <p>
          <code class="option">-Dmanpage=false</code>: Use this switch if you
          have not installed <a class="xref" href="../general/libxslt.html"
          title="libxslt-1.1.34">libxslt-1.1.34</a> and DocBook packages.
        </p>
        <p>
          <code class="option">-Dgcrypt=false</code>: Use this switch if you
          have not installed the recommended dependency of <a class="xref"
          href="../general/libgcrypt.html" title=
          "libgcrypt-1.8.5">libgcrypt-1.8.5</a>.
        </p>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Program:</strong>
              <span class="segbody">secret-tool</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Library:</strong>
              <span class="segbody">libsecret-1.so</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directories:</strong>
              <span class="segbody">/usr/include/libsecret-1 and
              /usr/share/gtk-doc/html/libsecret-1</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="secret-tool" name="secret-tool"></a><span class=
                    "term"><span class=
                    "command"><strong>secret-tool</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a command line tool that can be used to store and
                    retrieve passwords.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libsecret-1" name="libsecret-1"></a><span class=
                    "term"><code class=
                    "filename">libsecret-1.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    contains the <span class="application">libsecret</span>
                    API functions.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-02-17 12:12:55 -0800
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="gsettings-desktop-schemas.html" title=
          "gsettings-desktop-schemas-3.34.0">Prev</a>
          <p>
            gsettings-desktop-schemas-3.34.0
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="rest.html" title="rest-0.8.1">Next</a>
          <p>
            rest-0.8.1
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="core.html" title=
          "Chapter&nbsp;33.&nbsp;GNOME Libraries and Desktop">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
